package com.poorstu.dao;

import java.util.List;

import com.poorstu.model.AuditsMod;
import com.poorstu.model.HmenberMod;
import com.poorstu.model.HomeMod;
import com.poorstu.model.LoadMod;
import com.poorstu.model.LoginMod;
import com.poorstu.model.StudentMod;
import com.poorstu.model.UserPartTimeMod;

public interface StudentDao {
	
	public void addStuApplu(UserPartTimeMod applyPartTime);
	
	public List<UserPartTimeMod> selectUserPart();
	
	public UserPartTimeMod  selectUserPartTimeById(int userPartTimeId);
	
	public void partTimeApplyAudit(UserPartTimeMod userPartTime);
	
	//统计多少人申请助学通过
	public List<UserPartTimeMod> countApplyPartTimeNumber(int partTimeId);
	
	//统计多少人申请
	public  List<UserPartTimeMod> countApplyNumber(int jobId);
	
	
	public List<UserPartTimeMod> selectUserPartTimeByAllUserId(int allUserId);
	
	//查询贷款申请学生的信息
	public LoginMod selectMyLoadApply(int allUserId);
    
	public List<AuditsMod> selectAudit(int allUserId);
	
	public LoadMod selectLoad(int auditId);
	
	  //查询学生所有信息
	public LoginMod selectStudent(int allUserId);
	
	public LoadMod selectLoadById(int loadId);
	
	public List<HmenberMod> getHmenber(int homeId);
	
	public HomeMod getHome(int homeId);
	
	
}
